﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Data;

/// <summary>
/// Summary description for MessBUS
/// </summary>
public class MessBUS
{
    MessDAL messDAL = new MessDAL();
	public MessBUS()
	{
		//
		// TODO: Add constructor logic here
		//
	}

    public DataTable returnAllMess() {
        return messDAL.getAllMess();
    }

    public bool insertMess(string mesDetails) {
        return messDAL.insertMess(mesDetails);
    }

    public bool delMess(int mesID) {
        return messDAL.delMess(mesID);
    }

    public bool updateMess(int id, string details) {
        return messDAL.updateMess(id, details);
    }

   
}